package com.music.profile.dao.impl;

import com.music.profile.beans.Song;
import com.music.profile.constants.SongState;

public interface SongDAO {

	public abstract Long createSong(String name, Long composerId,
			Long preferredUrlId, SongState songState, Long createdMemberId);

	public abstract boolean updateSong(Song song);

	public abstract Song getSong(Long songId);

	/**
	 * Delete the song. Makes use of transactions.
	 * @param songId
	 * @return
	 */
	public abstract boolean deleteSong(Long songId);

}